<!--
 * @Author: your name
 * @Date: 2021-12-13 20:26:19
 * @LastEditTime: 2021-12-13 20:29:54
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \day6vue\my-app\src\components\Vcure.vue
-->
/<template>
  <div class="vcure">
      <span>{{name}}</span>
      <slot></slot>
  </div>
</template>

<script>
export default {
    props: ["name"]
}
</script>

<style lang="scss" scoped>
.vcure{
    display: flex;
    align-items: center;
    span{
        width: 100px;
        height: 40px;
        text-align: center;
        line-height: 40px;
    }
}
</style>